class UserInfo < ActiveRecord::Base
  belongs_to :user, :class_name => "User"  
  
#  validates_presence_of :telephone,:message =>"电话号码不能为空!" 
#  validates_numericality_of :telephone,:message =>"电话号码必须为数字"
    
#  validates_associated :user
end

